FROM java:8-jre

RUN mkdir -p /ripple-user-biz

WORKDIR /ripple-user-biz

ARG JAR_FILE=target/ripple-user-biz.jar

COPY ${JAR_FILE} ripple-user-biz.jar

EXPOSE 7073

ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom"

CMD sleep 30; java -jar ripple-user-biz.jar $JAVA_OPTS
